import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

  val appName = "console"
  val appVersion = "1.1-SNAPSHOT"

  val appDependencies = Seq(
    // Add your project dependencies here,
    javaCore,
    javaJdbc,
    javaEbean,
    "be.objectify" %% "deadbolt-java" % "2.1-RC2",
    "com.feth" %% "play-authenticate" % "0.2.5-SNAPSHOT",
    "com.feth" %% "play-easymail" % "0.2-SNAPSHOT",
    "commons-io" % "commons-io" % "2.4",
    "org.mindrot" % "jbcrypt" % "0.3m",
    "com.github.julienrf" %% "play-jsmessages" % "1.5.0"
  )

  val main = play.Project(appName, appVersion, appDependencies).settings(
    // Add your own project settings here
    resolvers += "julienrf.github.com" at "http://julienrf.github.com/repo/",
    resolvers += Resolver.url("Objectify Play (Release)", url("http://schaloner.github.com/releases/"))(Resolver.ivyStylePatterns),
    resolvers += Resolver.url("Objectify Play (Snapshot)", url("http://schaloner.github.com/snapshots/"))(Resolver.ivyStylePatterns),
    resolvers += Resolver.url("Play-Authenticate (Release)", url("http://joscha.github.com/play-authenticate/repo/releases/"))(Resolver.ivyStylePatterns),
    resolvers += Resolver.url("Play-Authenticate (Snapshot)", url("http://joscha.github.com/play-authenticate/repo/snapshots/"))(Resolver.ivyStylePatterns),
    resolvers += Resolver.url("Play-EasyMail (Release)", url("http://joscha.github.com/play-easymail/repo/releases/"))(Resolver.ivyStylePatterns),
    resolvers += Resolver.url("Play-EasyMail (Snapshot)", url("http://joscha.github.com/play-easymail/repo/snapshots/"))(Resolver.ivyStylePatterns)
    //resolvers += Resolver.url("Play-JsMessage" ,url("http://julienrf.github.com/repo/"))(Resolver.ivyStylePatterns)
    
  )
  
}
